package com.vf.admin.client.tx.dto.im;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * 用户之间的发送消息
 */
public class UserFaSong {

    /**
     * 消息发送方
     */
    @JSONField(name="From_Account")
    private String FromAccount;
    /**
     * 消息接收方
     */
    @JSONField(name="To_Account")
    private String ToAccount;
    /**
     * 消息接收方
     * 1：把消息同步到 From_Account 在线终端和漫游上；
     * 2：消息不同步至 From_Account；
     * 若不填写默认情况下会将消息存 From_Account 漫游
     */
    @JSONField(name="SyncOtherMachine")
    private Integer SyncOtherMachine;

    /**
     * 消息随机数
     */
    @JSONField(name="MsgRandom")
    private Integer MsgRandom;
    /**
     * TIM 消息对象类型
     */
    @JSONField(name="MsgType")
    private Integer MsgType;
    /**
     * 消息内容
     */
    @JSONField(name="MsgBody")
    private List<Object> MsgBody;
    /**
     * 对于每种 MsgType 用不同的 MsgContent 格式
     */
    @JSONField(name="MsgContent")
    private Object MsgContent;

    @JSONField(name="ForbidCallbackControl")
    private List<String> ForbidCallbackControl;


    public String getFromAccount() {
        return FromAccount;
    }

    public void setFromAccount(String fromAccount) {
        FromAccount = fromAccount;
    }

    public String getToAccount() {
        return ToAccount;
    }

    public void setToAccount(String toAccount) {
        ToAccount = toAccount;
    }

    public Integer getSyncOtherMachine() {
        return SyncOtherMachine;
    }

    public void setSyncOtherMachine(Integer syncOtherMachine) {
        SyncOtherMachine = syncOtherMachine;
    }

    public Integer getMsgRandom() {
        return MsgRandom;
    }

    public void setMsgRandom(Integer msgRandom) {
        MsgRandom = msgRandom;
    }

    public Integer getMsgType() {
        return MsgType;
    }

    public void setMsgType(Integer msgType) {
        MsgType = msgType;
    }

    public List<Object> getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(List<Object> msgBody) {
        MsgBody = msgBody;
    }

    public Object getMsgContent() {
        return MsgContent;
    }

    public void setMsgContent(Object msgContent) {
        MsgContent = msgContent;
    }

    public List<String> getForbidCallbackControl() {
        return ForbidCallbackControl;
    }

    public void setForbidCallbackControl(List<String> forbidCallbackControl) {
        ForbidCallbackControl = forbidCallbackControl;
    }
}
